home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2000 July / macformat-092.iso / Broderbund Demo / DemoData / Mathwork / MATHWORK.Dxr / 00894.ls < prev    next >
Encoding:
Text File  |  1997-08-22  |  492 b   |  23 lines

  1. on exitFrame
  2.   global gCorpDemo, gPickerPath, gDemoState
  3.   if not voidp(gCorpDemo) then
  4.     if word 2 of gCorpDemo = "DemoAll" then
  5.       go("returnFade", gPickerPath)
  6.       exit
  7.     end if
  8.   end if
  9.   if the timer < (3 * 60 * 60) then
  10.     go(the frame)
  11.   else
  12.     setupPuppets(1, 48, 0)
  13.     if not voidp(gCorpDemo) then
  14.       set gCorpDemo to "Picker DemoAll"
  15.       go("returnFade", gPickerPath)
  16.     else
  17.       resetDemo()
  18.       set gDemoState to 1
  19.       go("return")
  20.     end if
  21.   end if
  22. end
  23.